package com.woniuxy.yoga.user.model.exception;


import com.woniuxy.yoga.commons.core.exception.YogaException;

public class UserException extends YogaException {

    public UserException(Integer code, String message) {
        super(code, message);
    }

    public UserException(UserExceptionCode code) {
        super(code.getCode(), code.getMessage());
    }
}
